//
//  CrmCancelCell.m
//  New_Runway
//
//  Created by mack on 2018/2/28.
//  Copyright © 2018年 NelsonJ. All rights reserved.
//

#import "CrmCancelCell.h"

@interface CrmCancelCell ()

@property (weak, nonatomic) IBOutlet UIButton *okBtn;

@property (weak, nonatomic) IBOutlet UIButton *cancelBtn;
@end

@implementation CrmCancelCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.okBtn.layer.masksToBounds = YES;
    self.okBtn.layer.cornerRadius = 5;
    [self.okBtn setBackgroundImage:[UIImage imageWithColor:MAIN_NAV_COLOR()] forState:UIControlStateNormal];
    [self.okBtn setBackgroundImage:[UIImage imageWithColor:MAIN_HIGHTLIGHT_COLOR()] forState:UIControlStateHighlighted];
    
    self.cancelBtn.layer.masksToBounds = YES;
    self.cancelBtn.layer.cornerRadius = 5;
    self.cancelBtn.layer.borderColor = MAIN_NAV_COLOR().CGColor;
    self.cancelBtn.layer.borderWidth = 0.5;
    [self.cancelBtn setBackgroundImage:[UIImage imageWithColor:MAIN_HIGHT_COLOR()] forState:UIControlStateHighlighted];
    

}
- (IBAction)okBtnClick:(id)sender {
    self.ClicBlock(1);
}
- (IBAction)cancelBtnClick:(id)sender {
    self.ClicBlock(0);

}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
